<?php

//  define('LINK_ROOT', 'http://'. $_SERVER['HTTP_HOST']);
//  define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
//    define('LINK_ROOT', 'http://' . $_SERVER['HTTP_HOST'] . '/betting');
//    define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT'] . '/betting');
    define('LINK_ROOT', 'http://' . $_SERVER['HTTP_HOST'] . '/15_betting');
    define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT'] . '/15_betting');

    define('DIR_ADMIN', '/admin/');
    define('DIR_ADMIN_INCLUDE', '/admin/include/');

    define('DIR_INCLUDE', '/include/');
    define('DIR_AJAX', '/ajax/');

    define('DIR_PAYMENT_MASTER_CARD', '/payment/master_card/');
    define('DIR_PAYMENT_PAYPAL', '/payment/paypal/');
    define('DIR_PAYMENT_SKRILL', '/payment/skrill/');
    
    define('DIR_SHARED_PLUGIN_WOWSLIDER', '/shared/plugin/wowslider/');
    define('DIR_SHARED_PLUGIN_WOWSLIDER_CSS', '/shared/plugin/wowslider/css/');
    define('DIR_SHARED_PLUGIN_WOWSLIDER_JS', '/shared/plugin/wowslider/js/');

    define('DIR_SHARED', '/shared/');
    define('DIR_SHARED_CONFIG', '/shared/config/');
    define('DIR_SHARED_API', '/shared/api/');
    define('DIR_SHARED_DAO', '/shared/dao/');
    define('DIR_SHARED_LIBRARIES', '/shared/libraries/');
    define('DIR_SHARED_PLUGIN', '/shared/plugin/');
    define('DIR_SHARED_PLUGIN_TOGGLE_SWITCH', '/shared/plugin/css-toggle-switch-gh-pages/dist/');
    define('DIR_SHARED_PLUGIN_BOOTSTRAP_SELECT', '/shared/plugin/silviomoreto-bootstrap-select/');
    define('DIR_SHARED_PLUGIN_BOOTBOXJS', '/shared/plugin/bootboxjs/');
    define('DIR_SHARED_UPLOAD', '/shared/upload/');
    define('DIR_SHARED_UPLOAD_IMAGES', '/shared/upload/images/');

    define('DIR_SHARED_LAYOUT', '/shared/layout/');
    define('DIR_SHARED_LAYOUT_CSS', '/shared/layout/css/');
    define('DIR_SHARED_LAYOUT_JS', '/shared/layout/js/');
    define('DIR_SHARED_LAYOUT_IMAGES', '/shared/layout/images/');
    define('DIR_SHARED_LAYOUT_IMAGES_ICONS', '/shared/layout/images/icons/');
    define('DIR_SHARED_LAYOUT_IMAGES_SLIDESHOW', '/shared/layout/images/slideshow/');
    define('DIR_SHARED_LAYOUT_IMAGES_CAPTCHA', '/shared/layout/images/captcha/');
	
    define('DIR_SHARED_LAYOUT_BOOTSTRAP', '/shared/layout/bootstrap/');
    define('DIR_SHARED_LAYOUT_BOOTSTRAP_CSS', '/shared/layout/bootstrap/css/');
    define('DIR_SHARED_LAYOUT_BOOTSTRAP_JS', '/shared/layout/bootstrap/js/');

    class config
    {

        private $db_name = '15_betting';
        private $db_host = 'localhost';
        private $db_user = 'root';
        private $db_pass = '';
//
//        private $db_name = 'techstor_betting';
//        private $db_host = 'localhost';
//        private $db_user = 'techstor_admin';
//        private $db_pass = 'techstorm';

        public function get_db_name()
        {
            return $this->db_name;
        }

        public function get_db_host()
        {
            return $this->db_host;
        }

        public function get_db_user()
        {
            return $this->db_user;
        }

        public function get_db_pass()
        {
            return $this->db_pass;
        }

    }
